from django.urls import path,include
from . import views

urlpatterns = [
    path("",views.goBlogIndexPage),
    path("personal/",views.goBlogPersonalIndexPage),
    path("login/",views.userLogin),
    path("userLogout/",views.userLogout),
    path("publish/",views.saveArticle),
    path("register/",views.goUserRegisterPage),
    path("userregister/",views.userRegister),
    path("read/<str:articleId>/",views.readArticleById),
    path("arch/<str:opertype>/<str:articleId>/",views.getArticleById),
    path("signup/",views.goSignupPage),
    path('ckeditor/', include('ckeditor_uploader.urls')),
]